package com.lce.service;

import com.lce.beans.Chart;
import com.lce.beans.Leave;
import com.lce.beans.User;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface UserService {
    void addUser(User user);
    User login(User user);
    User getUser(int uid);
    List<User> getAllUser();
    void updateUser(User user);

    void addLeave(Leave leave);

    int getApprovalId(int did);

    List<Chart> getChart();
}
